Fix MISRA Rule 5.3 Part 4
authorDaniel Boulby <[email protected]>
Wed, 9 May 2018 10:29:07 +0000 (11:29 +0100)
committerDaniel Boulby <[email protected]>
Tue, 12 Jun 2018 12:21:36 +0000 (13:21 +0100)
commit7cb81945d5007925c59f68150ede7a20dba41e6c
tree7840a81cd876c5640df768fd95158090e891114e
parent7c934242e3652c4d43f1ce31187d804f627ab8a9
Fix MISRA Rule 5.3 Part 4

Use a _ prefix for macro arguments to prevent that argument from
hiding variables of the same name in the outer scope

Rule 5.3: An identifier declared in an inner scope shall not
          hide an identifier declared in an outer scope

Fixed For:
    make PLAT=fvp USE_COHERENT_MEM=0

Change-Id: If50c583d3b63799ee6852626b15be00c0f6b10a0
Signed-off-by: Daniel Boulby <[email protected]>
lib/locks/bakery/bakery_lock_normal.c